home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 36 / PC Gamer IT CD 36 2-2.iso / SINDEMO / sindemo2.exe / data / base / pak0.pak / models / hcofficer1_mag.def < prev    next >
Text File  |  1998-09-22  |  11KB  |  300 lines

  1. SDEF
  2. // -----------------------------------------------------------------------------
  3. //  $Logfile:: /Quake 2 Engine/Sin/Base Sin Data/Models/Hero/hcofficer1_mag.d $
  4. // $Revision:: 20                                                             $
  5. //   $Author:: Joeske                                                         $
  6. //     $Date:: 9/22/98 12:20p                                                 $
  7. //
  8. // Copyright (C) 1998 by Ritual Entertainment, Inc.
  9. // All rights reserved.
  10. //
  11. // This source may not be distributed and/or modified without
  12. // expressly written permission by Ritual Entertainment, Inc.
  13. //
  14. // This is a model definition file.  It is to be used in conjunction with Sin.
  15. //
  16. // -----------------------------------------------------------------------------
  17. // MODEL DESCRIPTION:
  18. // HC Officer #1 (with helmet) carrying a Magnum.
  19. //
  20. // MODEL AUTHOR:
  21. // Beau
  22. //
  23. /*SINED Hero_HCOfficer1_Magnum (1 .5 0) (0 0 0) (0 0 0)
  24. HC Officer 1 with Magnum
  25. */
  26.  
  27. // -----------------------------------------------------------------------------
  28. // FILE DECLARATIONS
  29. //
  30. // Model Commands
  31. path models/hcofficer
  32. scale 1.18
  33.  
  34. // Base Model
  35. hcofficer_base.sbm
  36.  
  37. // Skins
  38. normal       hcofficer1_base.tga
  39. damage       hcofficer1_damage.tga
  40.  
  41. // Normal Animations
  42. walk1          hcofficer_walk.sam
  43. run1           hcofficer_run.sam
  44. idle1          hcofficer_idle1.sam
  45. twitch1        hcofficer_idle2.sam
  46. readyfire1     hcofficer_readyfire.sam
  47. aim1           hcofficer_aim.sam
  48. fire1          hcofficer_fire.sam
  49. // alert
  50. // crouch_down                
  51. // crouch_idle                
  52.  
  53. // Pain Location Based Animations
  54. pain1          hcofficer_paintorsoupper.sam
  55. pain2          hcofficer_paintorsolower.sam
  56. pain3          hcofficer_painhead.sam
  57.  
  58. pain_head              hcofficer_painhead.sam
  59. pain_torso_upper       hcofficer_paintorsoupper.sam
  60. pain_torso_lower       hcofficer_paintorsolower.sam
  61. pain_leg_right_upper   hcofficer_painlegright.sam
  62. pain_leg_right_lower   hcofficer_painlegright.sam
  63. pain_leg_left_upper    hcofficer_painlegleft.sam
  64. pain_leg_left_lower    hcofficer_painlegleft.sam
  65. pain_arm_right_upper   hcofficer_painarmright.sam
  66. pain_arm_right_lower   hcofficer_painarmright.sam
  67. pain_arm_left_upper    hcofficer_painarmleft.sam
  68. pain_arm_left_lower    hcofficer_painarmleft.sam
  69.  
  70. // Death Location Based Animations
  71. death1         hcofficer_death1.sam
  72. death2         hcofficer_death2.sam
  73. death3         hcofficer_death3.sam
  74.  
  75. // Crouching Pain Location Based Animations
  76.  
  77. // Crouching Death Location Based Animations
  78.  
  79. // Optional Animations
  80. //runfire1       hcofficer_runfire.sam
  81. sitting1       hcofficer_sitting.sam
  82. sitting2       hcofficer_sitting2.sam
  83.  
  84. // Scripted Animations
  85.  
  86. // Id And Group Definitions
  87. id 5 group head                 flesh 
  88. group head damage               4.0
  89. id 15 group torso_upper         fabric 
  90. group torso_upper damage        1.0
  91. id 18 group torso_lower         fabric 
  92. group torso_lower damage        1.0
  93. id 45 group leg_left_upper      fabric 
  94. group leg_left_upper damage     0.7
  95. id 50 group leg_left_lower      fabric 
  96. group leg_left_lower damage     0.5
  97. id 65 group leg_right_upper     fabric 
  98. group leg_right_upper damage    0.7
  99. id 70 group leg_right_lower     fabric 
  100. group leg_right_lower damage    0.5
  101. id 85 group arm_left_upper      flesh 
  102. group arm_left_upper damage     0.7
  103. id 90 group arm_left_lower      flesh 
  104. group arm_left_lower damage     0.5
  105. id 102 group arm_right_upper    flesh 
  106. group arm_right_upper damage    0.7
  107. id 110 group arm_right_lower    flesh 
  108. group arm_right_lower damage    0.5
  109. id 105 group helmet ricochet    metal 
  110. group helmet damage             0.3
  111. id 200 group arm_right_lower bone gun 10 160 -2
  112.  
  113. // -----------------------------------------------------------------------------
  114. // INITIALIZATION SECTION
  115. //
  116. !init:
  117. //
  118. // SERVER Initialization Commands
  119. //
  120. // Class Setup
  121. server classname actor
  122. server script global/friend.scr
  123. server setsize "-16 -16 0" "16 16 80"
  124. server crouchsize "-16 -16 0" "16 16 48"
  125. server health 80
  126. server weapon Magnum
  127. server item FlakJacket 100
  128. server item RiotHelmet 50
  129.  
  130. // Sound Aliases
  131. server aliascache snd_sight1 "misc/hc/site1.wav" 1
  132. server aliascache snd_sight2 "misc/hc/site2.wav" 1
  133.  
  134. server aliascache snd_panic1 "misc/hc/panic1.wav" 1
  135. server aliascache snd_panic2 "misc/hc/panic2.wav" 1
  136.  
  137. //
  138. // CLIENT Initialization Commands
  139. //
  140. // Sound Aliases
  141. client aliascache snd_idle1 "misc/null.wav" 1
  142.  
  143. client aliascache snd_pain1 "misc/hc/pain1.wav" 1
  144. client aliascache snd_pain2 "misc/hc/pain2.wav" 1
  145. client aliascache snd_pain3 "misc/hc/pain3.wav" 1
  146. client aliascache snd_pain4 "misc/hc/pain4.wav" 1
  147. client aliascache snd_pain5 "misc/hc/pain5.wav" 1
  148. client aliascache snd_pain6 "misc/hc/pain6.wav" 1
  149.  
  150. client aliascache snd_pain_leg1 "misc/hc/painleg1.wav" 1
  151. client aliascache snd_pain_leg2 "misc/hc/pain2.wav" 1
  152. client aliascache snd_pain_leg3 "misc/hc/pain3.wav" 1
  153. client aliascache snd_pain_leg4 "misc/hc/pain4.wav" 1
  154.  
  155. client aliascache snd_pain_head1 "misc/hc/painhed1.wav" 1
  156. client aliascache snd_pain_head2 "misc/hc/pain1.wav" 1
  157.  
  158. client aliascache snd_death1 "misc/hc/death1.wav" 1
  159. client aliascache snd_death2 "misc/hc/death2.wav" 1
  160. client aliascache snd_death3 "misc/hc/death3.wav" 1
  161. client aliascache snd_death4 "misc/hc/death4.wav" 1
  162.  
  163. client aliascache snd_kneefall1 "impact/bodyfall/sml1.wav" 1
  164. client aliascache snd_kneefall2 "impact/bodyfall/sml2.wav" 1
  165. client aliascache snd_partfall1 "impact/bodyfall/med1.wav" 1
  166. client aliascache snd_partfall2 "impact/bodyfall/med2.wav" 1
  167. client aliascache snd_partfall3 "impact/bodyfall/med3.wav" 1
  168. client aliascache snd_bodyfall1 "impact/bodyfall/lrg1.wav" 1
  169. client aliascache snd_bodyfall2 "impact/bodyfall/lrg2.wav" 1
  170.  
  171. // -----------------------------------------------------------------------------
  172. // MAIN SECTION
  173. //
  174. !main:
  175.  
  176. // Special Commands
  177. // server crouch_down last nextanim crouch_idle
  178.  
  179. // Normal Animations
  180. server fire1  2 fire
  181.  
  182. server walk1  5 movementsound
  183. server walk1 11 movementsound
  184. client walk1  5 footstep
  185. client walk1 11 footstep
  186.  
  187. server run1   0 movementsound
  188. server run1   4 movementsound
  189. client run1   0 footstep
  190. client run1   4 footstep
  191.  
  192. // Pain Location Based Animations
  193. server pain_head             first painsound
  194. client pain_head             first randomsound snd_pain_head 1 2
  195. server pain_torso_upper      first painsound
  196. client pain_torso_upper      first randomsound snd_pain 1 2
  197. server pain_torso_lower      first painsound
  198. client pain_torso_lower      first randomsound snd_pain 1 2
  199. server pain_leg_right_upper  first painsound
  200. client pain_leg_right_upper  first randomsound snd_pain_leg 1 2
  201. server pain_leg_left_upper   first painsound
  202. client pain_leg_left_upper   first randomsound snd_pain_leg 1 2
  203. server pain_leg_right_lower  first painsound
  204. client pain_leg_right_lower  first randomsound snd_pain_leg 1 2
  205. server pain_leg_left_lower   first painsound
  206. client pain_leg_left_lower   first randomsound snd_pain_leg 1 2
  207. server pain_arm_right_upper  first painsound
  208. client pain_arm_right_upper  first randomsound snd_pain 1 2
  209. server pain_arm_left_upper   first painsound
  210. client pain_arm_left_upper   first randomsound snd_pain 1 2
  211. server pain_arm_right_lower  first painsound
  212. client pain_arm_right_lower  first randomsound snd_pain 1 2
  213. server pain_arm_left_lower   first painsound
  214. client pain_arm_left_lower   first randomsound snd_pain 1 2
  215.  
  216. // Death Location Based Animations
  217. server death1 first deathsound
  218. client death1 first randomsound snd_death 1 2
  219. client death1     4 randomsound snd_bodyfall 1 4
  220. server death2 first deathsound
  221. client death2 first randomsound snd_death 1 2
  222. client death2     5 randomsound snd_bodyfall 1 4
  223. server death3 first deathsound
  224. client death3 first randomsound snd_death 1 2
  225. client death3     1 randomsound snd_kneefall 1 4
  226. client death3     6 randomsound snd_partfall 1 4
  227.  
  228. //server death_head first deathsound
  229. //client death_head first randomsound snd_death 1 2
  230. //client death_head  6 randomsound snd_kneefall 1 4
  231. //client death_head  9 randomsound snd_partfall 1 4
  232. //server death_torso_upper first deathsound
  233. //client death_torso_upper first randomsound snd_death 1 2
  234. //client death_torso_upper  6 randomsound snd_kneefall 1 4
  235. //client death_torso_upper  9 randomsound snd_partfall 1 4
  236. //server death_torso_lower first deathsound
  237. //client death_torso_lower first randomsound snd_death 1 2
  238. //client death_torso_lower  7 randomsound snd_bodyfall 1 4
  239. //client death_torso_lower 14 randomsound snd_kneefall 1 4
  240. //client death_torso_lower 17 randomsound snd_kneefall 1 4
  241. //server death_arm_right_upper first deathsound
  242. //client death_arm_right_upper first randomsound snd_death 1 2
  243. //client death_arm_right_upper 3 randomsound snd_bodyfall 1 4
  244. //server death_arm_right_lower first deathsound
  245. //client death_arm_right_lower first randomsound snd_death 1 2
  246. //client death_arm_right_lower 3 randomsound snd_bodyfall 1 4
  247. //server death_arm_left_upper first deathsound
  248. //client death_arm_left_upper first randomsound snd_death_long 1 2
  249. //client death_arm_left_upper  4 randomsound snd_bodyfall 1 4
  250. //client death_arm_left_upper  7 randomsound snd_kneefall 1 4
  251. //client death_arm_left_upper 28 randomsound snd_bodyfall 1 4
  252. //server death_arm_left_lower first deathsound
  253. //client death_arm_left_lower first randomsound snd_death_long 1 2
  254. //client death_arm_left_lower  4 randomsound snd_bodyfall 1 4
  255. //client death_arm_left_lower  7 randomsound snd_kneefall 1 4
  256. //client death_arm_left_lower 28 randomsound snd_bodyfall 1 4
  257. //server death_leg_right_upper first deathsound
  258. //client death_leg_right_upper first randomsound snd_death 1 2
  259. //client death_leg_right_upper  7 randomsound snd_bodyfall 1 4
  260. //client death_leg_right_upper 14 randomsound snd_kneefall 1 4
  261. //client death_leg_right_upper 17 randomsound snd_kneefall 1 4
  262. //server death_leg_right_lower first deathsound
  263. //client death_leg_right_lower first randomsound snd_death 1 2
  264. //client death_leg_right_lower  7 randomsound snd_bodyfall 1 4
  265. //client death_leg_right_lower 14 randomsound snd_kneefall 1 4
  266. //client death_leg_right_lower 17 randomsound snd_kneefall 1 4
  267. //server death_leg_left_upper first deathsound
  268. //client death_leg_left_upper first randomsound snd_death 1 2
  269. //client death_leg_left_upper  7 randomsound snd_bodyfall 1 4
  270. //client death_leg_left_upper 14 randomsound snd_kneefall 1 4
  271. //client death_leg_left_upper 17 randomsound snd_kneefall 1 4
  272. //server death_leg_left_lower first deathsound
  273. //client death_leg_left_lower first randomsound snd_death 1 2
  274. //client death_leg_left_lower  7 randomsound snd_bodyfall 1 4
  275. //client death_leg_left_lower 14 randomsound snd_kneefall 1 4
  276. //client death_leg_left_lower 17 randomsound snd_kneefall 1 4
  277.  
  278. // Optional Animations
  279.  
  280. // -----------------------------------------------------------------------------
  281. // SOURCESAFE Update Log
  282. //
  283. // $Log:: /Quake 2 Engine/Sin/Base Sin Data/Models/Hero/hcofficer1_mag.def    $
  284. // 
  285. // 20    9/22/98 12:20p Joeske
  286. // Removed run2 references, animation no longer exists.
  287. // 
  288. // 19    9/22/98 11:39a Joeske
  289. // Commented out the RunFire animation for now since we shouldn't use it.
  290. // 
  291. // 18    9/20/98 6:23p Joeske
  292. // Reformatted file and verified animations.
  293. // 
  294. //
  295. // -----------------------------------------------------------------------------
  296.  
  297.  
  298.  
  299.  
  300.